home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / os2tools / os2hpfs / os2hpfs.txt
Encoding:
Text File  |  1989-11-02  |  8.4 KB  |  217 lines

  1. *** NOTES ON INSTALLING DUAL BOOT and HPFS on IBM OS/2 1.2 ***
  2.  
  3. I wanted to install the HPFS file system while retaining the dual
  4. boot option.  However, the installation does *NOT* allow you to do
  5. both.  So here are my instructions and set-up for doing this:
  6.  
  7. (1) Make sure that your hard disk is bootable with DOS 3.3 or 4.0.
  8. While you are at it, create a "minimum" DOS boot floppy, and place
  9. backup copies of your DOS CONFIG.SYS and AUTOEXEC.BAT.
  10. (2) Make a backup of all your files, including logical drives.
  11. (3) Install IBM's OS/2 1.2 with the dual boot option.  DO NOT SELECT
  12. THE HPFS FILE SYSTEM AT THIS POINT!
  13. (4) Copy onto your bootable DOS floppy disk the OS/2 CONFIG.SYS and
  14. AUTOEXEC.BAT with the extension .OS2 (so you don't overwrite your
  15. DOS versions).  This is an "insurance" policy to boot OS/2 in case
  16. of problems with moving files around.
  17. (5) I recommend the largest HPFS disk possible, and you should make
  18. it your last drive since DOS will ignore the HPFS drive when it is
  19. running.  This way all your DOS files are on the same drives no
  20. matter what operating system you boot up with.
  21. (6) Use your favorite editor in the DOS box to modify OS/2's
  22. CONFIG.SYS.  Add the line "IFS=C:\OS2\HPFS.IFS -C:64
  23. /AUTOCHECK:<drive>" at the top of the file.  <drive(s)> is your HPFS
  24. drive(s).  At the bottom of the CONFIG.SYS, add the line
  25. "RUN=<drive><path>CACHE.EXE /LAZY: ON | OFF".
  26. (7) Use OS/2's FDISKPM (in the Utilities group) to repartition your
  27. hard disk if necessary to create a large HPFS partition.  When you
  28. finish running FDISKPM, you will need to reboot OS/2.  WARNING: You
  29. will lose data on any partition that you modify in FDISKPM.
  30. (8) If everything goes well, upon rebooting OS/2 you should see a
  31. message stating that HPFS driver is loaded.
  32. (9) Go to an OS/2 session, and type the following command to format
  33. a hard disk to an HPFS partition:
  34.     FORMAT <drive>/FS:HPFS
  35. The system will tell you that the file system on the disk is FAT.
  36. Don't worry, the format command will change it.  To change the drive
  37. back to FAT, type "FORMAT <drive>/FS:FAT".
  38. (10) Now comes the fun part.  You can move most of the OS/2 programs
  39. to your HPFS partition, BUT NOT ALL.  You may have to "cheat" to
  40. move some files since they will be used by other processes.  To
  41. "cheat", make a note of the file names, and reboot with your DOS
  42. floppy.  Copy these files in DOS to another floppy, reboot OS/2 and
  43. copy the files from the SCRATCH FLOPPY disk to the HPFS partition.
  44. I recommend moving files via the file manager move command.  NOTE THAT YOU MUST
  45. KEEP A COPY OF BOOT.COM IN YOUR DOS FAT DRIVE C: TO IMPLEMENT THE DUAL BOOT 
  46. OPTION.  Below is a list of the files left on my C: DOS FAT drive:
  47.  
  48.  
  49. >>> SWEEP >>> C:\OS2
  50.  
  51.  Volume in drive C is EMR DISK 1
  52.  Volume Serial Number is 025A:2430 
  53.  Directory of  C:\OS2
  54.  
  55. .            <DIR>     10-27-89   1:59a
  56. ..           <DIR>     10-27-89   1:59a
  57. DLL          <DIR>     10-27-89   1:59a
  58. HELP         <DIR>     10-27-89   1:59a
  59. INSTALL      <DIR>     10-27-89   1:59a
  60. SYSTEM       <DIR>     10-27-89   1:59a
  61. AUTOEXEC OS2      546  10-27-89   6:09a
  62. CONFIG   OS2     1041  10-28-89  12:57a
  63.         8 File(s)  15300608 bytes free
  64.  
  65. >>> SWEEP >>> C:\OS2\DLL
  66.  
  67.  Volume in drive C is EMR DISK 1
  68.  Volume Serial Number is 025A:2430 
  69.  Directory of  C:\OS2\DLL
  70.  
  71. .            <DIR>     10-27-89   1:59a
  72. ..           <DIR>     10-27-89   1:59a
  73. ANSICALL DLL     4133   8-31-89  12:00p
  74. BKSCALLS DLL     7175   8-31-89  12:00p
  75. BMSCALLS DLL     4157   8-31-89  12:00p
  76. BVHINIT  DLL     9758   8-31-89  12:00p
  77. BVHVGA   DLL    36458   8-31-89  12:00p
  78. BVHWNDW  DLL     7605   8-31-89  12:00p
  79. BVSCALLS DLL    20563   8-31-89  12:00p
  80. DOSCALL1 DLL    14651   8-31-89  12:00p
  81. FKA      DLL    15969   8-31-89  12:00p
  82. KBDCALLS DLL     8265   8-31-89  12:00p
  83. MOUCALLS DLL     5692   8-31-89  12:00p
  84. MSG      DLL     6218   8-31-89  12:00p
  85. NAMPIPES DLL     1553   8-31-89  12:00p
  86. NLS      DLL     5428   8-31-89  12:00p
  87. QUECALLS DLL    10282   8-31-89  12:00p
  88. SESMGR   DLL    30017   8-31-89  12:00p
  89. UHPFS    DLL   150336   8-31-89  12:00p
  90. VIOCALLS DLL    17430   8-31-89  12:00p
  91. PMDIARY  DLL     8704   6-12-89   1:34p
  92.        21 File(s)  15300608 bytes free
  93.  
  94. >>> SWEEP >>> C:\OS2\HELP
  95.  
  96.  Volume in drive C is EMR DISK 1
  97.  Volume Serial Number is 025A:2430 
  98.  Directory of  C:\OS2\HELP
  99.  
  100. .            <DIR>     10-27-89   1:59a
  101. ..           <DIR>     10-27-89   1:59a
  102. PMEXECH  HLP    28338   8-31-89  12:00p
  103. PMSHELLH HLP     1210   8-31-89  12:00p
  104. PMFILEH  HLP    66467   8-31-89  12:00p
  105. PMSPOOLH HLP    31060   8-31-89  12:00p
  106. PMCPLH   HLP    30697   8-31-89  12:00p
  107. EHXHP    HLP    26763   8-31-89  12:00p
  108. FDISKPMH HLP    10507   8-31-89  12:00p
  109. HMHELP   HLP    17062   8-31-89  12:00p
  110. PICH     HLP    11966   8-31-89  12:00p
  111. PICPH    HLP    33381   8-31-89  12:00p
  112. PMVIOP   HLP     3323   8-31-89  12:00p
  113. PSHH     HLP    15530   8-31-89  12:00p
  114. VIEWH    HLP    15615   8-31-89  12:00p
  115.        15 File(s)  15298560 bytes free
  116.  
  117. >>> SWEEP >>> C:\OS2\INSTALL
  118.  
  119.  Volume in drive C is EMR DISK 1
  120.  Volume Serial Number is 025A:2430 
  121.  Directory of  C:\OS2\INSTALL
  122.  
  123. .            <DIR>     10-27-89   1:59a
  124. ..           <DIR>     10-27-89   1:59a
  125. SYSLEVEL OS2      169   8-31-89  12:00p
  126.         3 File(s)  15298560 bytes free
  127.  
  128. >>> SWEEP >>> C:\OS2\SYSTEM
  129.  
  130.  Volume in drive C is EMR DISK 1
  131.  Volume Serial Number is 025A:2430 
  132.  Directory of  C:\OS2\SYSTEM
  133.  
  134. .            <DIR>     10-27-89   1:59a
  135. ..           <DIR>     10-27-89   1:59a
  136. ANSI     SYS     1976   8-31-89  12:00p
  137. CONFIG   DOS      416  10-24-89  11:35p
  138. BOOT     COM    42384   8-31-89  12:00p
  139. BOOT     DOS      512  10-28-89  12:32a
  140. COM02    SYS    16436   8-31-89  12:00p
  141. COUNTRY  SYS    13676   8-31-89  12:00p
  142. DOS      SYS     2100   8-31-89  12:00p
  143. EGA      SYS     2599   8-31-89  12:00p
  144. HPFS     IFS    97306   8-31-89  12:00p
  145. KEYBOARD DCP    94007   8-31-89  12:00p
  146. MOUSE    SYS    17972   8-31-89  12:00p
  147. MSPS202  SYS     3636   8-31-89  12:00p
  148. MSSER02  SYS     3636   8-31-89  12:00p
  149. PCMOU02  SYS     3124   8-31-89  12:00p
  150. PMDD     SYS     3555   8-31-89  12:00p
  151. POINTDD  SYS     6562   8-31-89  12:00p
  152. VIOTBL   DCP    52150   8-31-89  12:00p
  153. AUTOEXEC DOS     1267  10-27-89  10:22p
  154.        20 File(s)  15298560 bytes free
  155.  
  156. In order for this to work, you must also modify your OS/2 CONFIG.SYS
  157. to reflect the correct paths.  I've enclosed a copy of my
  158. CONFIG.SYS.  Please note that I moved all the OS/2 executable files
  159. (along with their data files) to a subdirectory called \OS2\PRG.  I
  160. like to keep my \OS2 directories on C: and F: (my HPFS partition)
  161. clean...they contain nothing but subdirectories.
  162.  
  163. IFS=C:\OS2\SYSTEM\HPFS.IFS -C:64 /AUTOCHECK:F
  164. PROTSHELL=F:\OS2\PRG\PMSHELL.EXE F:\OS2\PRG\OS2.INI F:\OS2\PRG\OS2SYS.INI F:\OS2\PRG\CMD.EXE
  165. SET COMSPEC=F:\OS2\PRG\CMD.EXE
  166. LIBPATH=C:\OS2\DLL;F:\OS2\DLL;F:\SIDEKICK;E:\Download
  167. SET PATH=F:\OS2\PRG;F:\OS2\INSTALL;f:\programs;
  168. SET DPATH=C:\OS2\SYSTEM;F:\OS2\PRG;C:\OS2\INSTALL;F:\OS2\INSTALL;
  169. SET PROMPT=$i[$p]
  170. SET HELP=C:\OS2\HELP
  171. SET BOOKSHELF=F:\OS2\BOOK
  172. BUFFERS=30
  173. DISKCACHE=64
  174. MAXWAIT=3
  175. MEMMAN=SWAP,MOVE
  176. PROTECTONLY=NO
  177. SWAPPATH=F:\TEMP 512
  178. THREADS=128
  179. IOPL=YES
  180. SHELL=F:\OS2\PRG\COMMAND.COM /P/E:300
  181. BREAK=OFF
  182. FCBS=16,8
  183. RMSIZE=640
  184. DEVICE=C:\OS2\SYSTEM\DOS.SYS
  185. DEVICE=C:\OS2\SYSTEM\ANSI.SYS
  186. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  187. DEVINFO=SCR,VGA,C:\OS2\SYSTEM\VIOTBL.DCP
  188. SET VIDEO_DEVICES=VIO_IBMVGA
  189. SET VIO_IBMVGA=DEVICE(BVHVGA)
  190. DEVICE=C:\OS2\SYSTEM\POINTDD.SYS
  191. DEVICE=C:\OS2\SYSTEM\MSPS202.SYS 
  192. DEVICE=C:\OS2\SYSTEM\MOUSE.SYS TYPE=MSPS2$
  193. DEVICE=C:\OS2\SYSTEM\PMDD.SYS
  194. DEVICE=C:\OS2\SYSTEM\EGA.SYS
  195. SET KEYS=ON
  196. DEVICE=C:\OS2\SYSTEM\COM02.SYS
  197. RUN=F:\OS2\PRG\CACHE.EXE /LAZY:ON
  198.  
  199. Please note that my CONFIG.SYS is for an IBM PS/2 with VGA graphics
  200. and a Microsoft Serial/PS2 mouse.  This setup will also load a DOS
  201. emulationation box.  You will have to modify the CONFIG.SYS and some
  202. of the files listed above to match the setup for your machine.  One
  203. cavaet: for some reason, the extended help does not work on all
  204. programs unless you leave the HELP directory on C:\OS2\HELP.  Even
  205. with it there, it is still flaky.
  206.  
  207. After you boot up the new system, you should edit your OS2.INI files
  208. by changing paths with your Control Panel.  Also, in each PM group
  209. containing executable files (or .CMD files), don't forget to tell PM
  210. where each file have been moved to (the HPFS partition).
  211.  
  212. If you need any help, or have any comments, don't hesitate to
  213. contact me.
  214.  
  215.     Eric Rintell
  216.     OS/2 Conference Moderator
  217.